package com.realshare.frame.component.quartz.model;
import org.beetl.sql.core.annotatoin.Table;
/*
* 
* gen by beetlsql 2019-05-17
*/
@Table(name="sys_db_quartz")
public class SysDbQuartz   {

	/*
	用户组 ID
	*/
	private String id ;
	/*
	开始有效时间，为空时立即有效
	*/
	private String beginValidTime ;
	/*
	创建时间
	*/
	private String createTime ;
	/*
	创建者
	*/
	private String creator ;
	/*
	执行周期，cron表达式
	*/
	private String cron ;
	/*
	输出数据查询sql
	*/
	private String dataOutSql ;
	/*
	源数据库实例ID
	*/
	private String dataSourceDbId ;
	/*
	目标数据库实例ID
	*/
	private String dataTargetDbId ;
	/*
	目标数据库初始化sql
	*/
	private String dataTargetInitSql ;
	/*
	目标数据库数据保存sql，替换参数以#param#形式传递，param与data_out_sql查询的结果字段相对应

	*/
	private String dataTargetSaveSql ;
	/*
	修改者
	*/
	private String editor ;
	/*
	修改时间
	*/
	private String editTime ;
	/*
	结束有效时间，为空时永久有效
	*/
	private String endValidTime ;
	/*
	最后一次运行时间
	*/
	private Long lastRunTime ;
	/*
	任务名称
	*/
	private String name ;
	/*
	备注
	*/
	private String remark ;
	/*
	排序
	*/
	private Long sort ;
	/*
	状态：-1.删除；0.无效；1.正常；2.异常任务
	*/
	private Integer status ;
	/*
	任务数据库实例ID
	*/
	private String taskDbId ;
	/*
	任务sql
	*/
	private String taskSql ;
	/*
	任务状态：1.已加载；2.待加载，加载后立即执行一次；3.待加载，加载后按cron表达式执行；
	*/
	private Integer taskStatus ;

	public SysDbQuartz() {
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBeginValidTime() {
		return beginValidTime;
	}

	public void setBeginValidTime(String beginValidTime) {
		this.beginValidTime = beginValidTime;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getCron() {
		return cron;
	}

	public void setCron(String cron) {
		this.cron = cron;
	}

	public String getDataOutSql() {
		return dataOutSql;
	}

	public void setDataOutSql(String dataOutSql) {
		this.dataOutSql = dataOutSql;
	}

	public String getDataSourceDbId() {
		return dataSourceDbId;
	}

	public void setDataSourceDbId(String dataSourceDbId) {
		this.dataSourceDbId = dataSourceDbId;
	}

	public String getDataTargetDbId() {
		return dataTargetDbId;
	}

	public void setDataTargetDbId(String dataTargetDbId) {
		this.dataTargetDbId = dataTargetDbId;
	}

	public String getDataTargetInitSql() {
		return dataTargetInitSql;
	}

	public void setDataTargetInitSql(String dataTargetInitSql) {
		this.dataTargetInitSql = dataTargetInitSql;
	}

	public String getDataTargetSaveSql() {
		return dataTargetSaveSql;
	}

	public void setDataTargetSaveSql(String dataTargetSaveSql) {
		this.dataTargetSaveSql = dataTargetSaveSql;
	}

	public String getEditor() {
		return editor;
	}

	public void setEditor(String editor) {
		this.editor = editor;
	}

	public String getEditTime() {
		return editTime;
	}

	public void setEditTime(String editTime) {
		this.editTime = editTime;
	}

	public String getEndValidTime() {
		return endValidTime;
	}

	public void setEndValidTime(String endValidTime) {
		this.endValidTime = endValidTime;
	}

	public Long getLastRunTime() {
		return lastRunTime;
	}

	public void setLastRunTime(Long lastRunTime) {
		this.lastRunTime = lastRunTime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getSort() {
		return sort;
	}

	public void setSort(Long sort) {
		this.sort = sort;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getTaskDbId() {
		return taskDbId;
	}

	public void setTaskDbId(String taskDbId) {
		this.taskDbId = taskDbId;
	}

	public String getTaskSql() {
		return taskSql;
	}

	public void setTaskSql(String taskSql) {
		this.taskSql = taskSql;
	}

	public Integer getTaskStatus() {
		return taskStatus;
	}

	public void setTaskStatus(Integer taskStatus) {
		this.taskStatus = taskStatus;
	}
}
